package com.android.webpicture;

import com.android.webpicture.R;
import com.android.webserver.fwapi.RawRessource;
import com.android.webserver.fwapi.WebApplication;

public class MyWebApp extends WebApplication
{
	/**
	 * Map your web pages and resource : path, class, arguments for the init
	 * function
	 */
	@Override
	public boolean onCreate()
	{
		setApplicationPassword("");
		mountWebContent("webpicture", ListPictures.class);
		mountWebContent("webpicture/get", Picture.class);
		mountWebContent("webpicture/hello.css", RawRessource.class, 
				RawRessource.CSS,	R.raw.hello);		
		return super.onCreate();
	}
}
